home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970326-19970626 / 000243_news@newsmaster….columbia.edu _Thu May 29 11:40:33 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id LAA29417
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 29 May 1997 11:40:28 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id LAA18723
  7.     for kermit.misc@watsun; Thu, 29 May 1997 11:40:27 -0400 (EDT)
  8. Path: news.columbia.edu!panix!news.mathworks.com!feeder.chicago.cic.net!ftpbox.mot.com!mothost.mot.com!news-in.cig.mot.com!news.ecid.cig.mot.com!merlin!cornellr
  9. From: cornellr@merlin.ecid.cig.mot.com (Robert Cornell)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: !READ
  12. Date: 29 May 1997 15:23:09 GMT
  13. Organization: Motorola Ltd., European Cellular Infrastructure Division
  14. Lines: 37
  15. Distribution: world
  16. Message-ID: <1997May29.161158@merlin.ecid.cig.mot.com>
  17. NNTP-Posting-Host: hobby.ecid.cig.mot.com
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7093
  19.  
  20. I am having a little difficulty reading from commands that only output a
  21. single line such as crypt.  I have a program that generates a logfile name.
  22. from ksh...
  23. $ rat -y
  24. /opt/rat/log/none-cornellr.log
  25.  
  26. from kermit...
  27. C-Kermit>open !read rat -y
  28. C-Kermit>read line 
  29. C-Kermit>echo \m(line)
  30.  
  31. C-Kermit>
  32.  
  33. Whereas:
  34. C-Kermit>open !read ls -l
  35. C-Kermit>read line 
  36. C-Kermit>echo \m(line)
  37. total 1768
  38. C-Kermit>read line    
  39. C-Kermit>echo \m(line)
  40. -r-xr-xr-x   1 cornellr a_user    760784 May 14 13:16 kermit
  41. C-Kermit>read line    
  42. C-Kermit>echo \m(line)
  43. drwxrwxrwx   2 cornellr a_user       512 May 29 15:38 log
  44. C-Kermit>read line    
  45. C-Kermit>echo \m(line)
  46. -rwxr-xr-x   1 cornellr a_user     12972 May 29 15:44 rat
  47. C-Kermit>
  48.  
  49. The manual dosen't give much away, just a VMS dir example!
  50. I'm sure this ain't a bug, what am I missing?
  51.  
  52. I am using 6.0.192 for Solaris 2.x.
  53. -------------------------------------------------
  54.    Robert Cornell - cornellr@ecid.cig.mota.com
  55.   Mountfield +44 1424 432627 Fax +44 1424 441144
  56. Motorola ECID +44 1793 566344 Fax +44 1793 420915